package com.sunchen.asc.service.item.api;

import com.sunchen.asc.service.common.ResultResponse;
import com.sunchen.asc.service.item.vo.AllItemVo;
import org.springframework.data.domain.Pageable;

public interface ItemService {

    public ResultResponse create(AllItemVo allItemVo);

    public ResultResponse edit(AllItemVo allItemVo);

    public ResultResponse delete(Long id);

    public ResultResponse detail(Long id);

    public ResultResponse release(Long id);

    public ResultResponse releaseCancel(Long id);

    public ResultResponse list(String name, Long titleId, Long addressId, Long acceptDeptId, String itemType, Integer onlineFlag, String serviceObject, String lifeCycle, Integer titleType, Pageable pageable);

    public ResultResponse fatherDetail(Long id);

    public ResultResponse mark(Long id, Integer itemMark);

    public ResultResponse sonList(Long id);
}
